package io.adrainty.bolee.insurance.models.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.adrainty.bolee.framework.commons.basic.BaseBO;
import io.adrainty.bolee.framework.commons.basic.EnableEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * <p>CategoryConditionEntity</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description 保险系数项
 * @since 2025/8/11 11:40:53
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "保险系数项")
@TableName("tab_insurance_coefficient")
public class InsuranceCoefficientBO extends BaseBO {

    @Serial
    private static final long serialVersionUID = -7709445335818549997L;

    @Schema(description = "保险产品id")
    private Long insuranceId;

    @Schema(description = "系数项key")
    private String coefficientKey;

    @Schema(description = "系数项名称:保障年限")
    private String coefficientKeyName;

    @Schema(description = "系数项类型：0、选项系数1、范围系数 2、年限系数")
    private String coefficientType;

    @Schema(description = "系数项别名")
    private String coefficientAsName;

    @Schema(description = "系数项值")
    private String coefficientValue;

    @Schema(description = "系数项试算值")
    private BigDecimal score;

    @Schema(description = "是否默认")
    private String isDefault;

    @Schema(description = "是否展示")
    private String isShow;

    @Schema(description = "排序")
    private Integer sortNo;

    @Schema(description = "数据状态：0正常 1禁用")
    private EnableEnum dataState;
    
}
